package com.example.hospitalsystem.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.hospitalsystem.pojo.dto.doctor.*;
import com.example.hospitalsystem.pojo.entity.Doctor;
import com.example.hospitalsystem.pojo.vo.PatientPrescriptionPharmacyVO;
import com.example.hospitalsystem.result.Result;

import java.util.List;

public interface DoctorService extends IService<Doctor> {

    public Result<Object> getAllDoctorInfo(DoctorPageQueryDto doctorPageQueryDto);

    public Result<Object> changeDoctorInfo(ChangeDoctorDto changeDoctorDto);

    public Result<Object> addDoctorInfo(Doctor doctor);

    public Result<Object> deleteDoctorInfo(String password);

    public Result<Object> doctorGetPatient(DoctorGetPatientDto doctorGetPatientDto);

    Result<Object> getDoctorInfoById(Integer doctorId);

    Result<Object> shareOTCTOPatient(DistributeMedicineDTO distributeMedicineDTO);

    public Result<Object> checkRegistration(Integer id);

    Result<Object> deletePaymentById(Integer consultationId);

    Result<Object> getInfoByDoctor();

    List<Doctor> getDoctorList();

    PatientPrescriptionPharmacyVO selectpPescriptionById(Integer consultationId);

    List<Doctor> searchDoctor(String key);

    Result<Object> deleteDoctor(int id);
}
